using Headspring.Training.Domain.Model;
using Headspring.Training.Domain.Services;
using Headspring.Training.WebUI.Views;

namespace Headspring.Training.WebUI.Presenters
{
	public class NavigationPresenter
	{
		private IUserSession _session;

		public NavigationPresenter(IUserSession session)
		{
			_session = session;
		}

		public void Execute(INavigationView view)
		{
			Employee currentUser = _session.GetCurrentUser();
			view.CurrentUser = currentUser;
		}
	}
}